import React,{lazy} from 'react'
const Home = lazy(()=>import('../pages/Home/Index.jsx'))
const Detail= lazy(()=>import('../pages/Detail/Index.jsx'))
export const router=[
    {
        path:'/',
        element:<Home/>
    },
    {
        path:'/detail/:id',
        element:<Detail/>
    },
]